﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// 用户的实体层
/// </summary>
namespace Medicine.Entity
{

   public class User
    {
        /**
         * 实体类的属性
         **/
        private int id;
        private String name;
        private String number;
        private String passwd;
        private float price;
        private int authority;

        public int Authority
        {
            get
            {
                return authority;
            }

            set
            {
                authority = value;
            }
        }

        public int Id
        {
            get
            {
                return id;
            }

            set
            {
                id = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
            }
        }

        public string Number
        {
            get
            {
                return number;
            }

            set
            {
                number = value;
            }
        }

        public string Passwd
        {
            get
            {
                return passwd;
            }

            set
            {
                passwd = value;
            }
        }

        public float Price
        {
            get
            {
                return price;
            }

            set
            {
                price = value;
            }
        }
    }
}
